<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">

<head>
<title>Jardins familiaux de Lacroix-Falgarde : informations</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="style/style.css" />
<script type="text/javascript" src="./script/fonctions_communes.js"></script>
<script type="text/javascript" src="./script/informations.js"></script>
</head>

<body>

	<!-- Connexion -->
	<?php include './include/conf.php'; ?>
	
	<div id="global">
	
		<!-- header -->
		<?php include './include/header.php' ; ?>
		
		<!-- fil d'ariane et espace adhérent -->
		<p id="ariane">
			vous êtes ici : <a href="index.php">accueil</a> &gt; <a href="#"> adhérent </a> &gt; <a href="#"> informations </a> &gt; <a href="#"> astuces </a>
			<a id="espaceAdherent" href="connexion.php">espace adhérent</a>
		</p>	
		
		<!-- contenu -->
		<div id="contenu">
		
			<!-- menu gauche -->
			<?php include('./include/menu_gauche.php'); ?>
	
			<div id="information">
			<h1>Les informations</h1>
			
			<div id="list_categorie">
			<label id="label" for="liste_categories">Catégories :</label>
			
			<select id="liste_categories" size="1">
				<option id="---">---</option>
				<?php 
				$selectCateg =$pdo->prepare('select * from categorie');
				$selectCateg->execute();
					
				while($categ =  $selectCateg->fetch())
				{
					echo '<option id="'.$categ->nom.'">'.$categ->nom.'</option>';
				}
				$selectCateg->closeCursor();
				?>
			</select>
			</div>
			<br/><br/><br/>
			
			<div id="tabinfos"></div>
			
			</div>
		</div> 

		<!-- footer -->
		<?php include('./include/footer.php'); ?>
	</div>
</body>
</html>
